<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\ActivityBargain
 *
 * @property int $id 自增id
 * @property int $goods_id 商品id
 * @property float $max_money 砍价的最大金额
 * @property int $max_join_count 最大参与人数
 * @property string|null $start_time 活动开始时间
 * @property string|null $end_time 活动结束时间
 * @property int $status 状态：0：下架 1：上架
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\ActivityBargain onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargain whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargain whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargain whereEndTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargain whereGoodsId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargain whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargain whereMaxJoinCount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargain whereMaxMoney($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargain whereStartTime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargain whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\ActivityBargain whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\ActivityBargain withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\ActivityBargain withoutTrashed()
 * @mixin \Eloquent
 */
class ActivityBargain extends Model
{
    protected $table = "activity_bargain";
    use SoftDeletes;
}
